#9255DE#9255DE

#9255DE is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.201 H 300.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9255DE
RGBrgb(146, 85, 222)
HSLhsl(267, 67%, 60%)
HSVhsv(267, 62%, 87%)
CMYKcmyk(34.2%, 61.7%, 0%, 12.9%)
CIE-LABlab(49.35, 52.12, -60.80)
CIE-LCHlch(49.35, 80.08, 310.61°)
OKLaboklab(58.58% 0.1031 -0.1726)
OKLCHoklch(58.58% 0.201 300.8)
XYZxyz(28.2842, 17.8818, 71.0545)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255DE #A1DE55
analogous
#555DDE #9255DE #D655DE
triadic
#9255DE #DE9255 #55DE92
tetradic
#9255DE #DE555D #A1DE55 #55DED6
square
#9255DE #DE555D #A1DE55 #55DED6
split-complementary
#9255DE #DED655 #5DDE55
monochromatic
#551E9B #7228CE #9255DE #B388E8 #D4BCF2

Accessibility & contrast

On white

4.59
#9255DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9255DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9255DE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255DE#FFFFFF#000000##FFFFFF
##9255DE1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#2474DB
Tritanopia (blue-blind)
#827292
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9255de;
/* rgb */ color: rgb(146, 85, 222);
/* oklch */ color: oklch(58.6% 0.201 300.8);
Tailwind
colors: {
  custom: {
    50: '#b788e9',
    500: '#9255de',
    950: '#000000',
  },
}
SCSS
$custom: #9255de;
$custom-light: #b788e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9255de",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 222
  },
  "hsl": {
    "h": 266.715,
    "s": 67.488,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58583,
    "c": 0.20109,
    "h": 300.8
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#9255DE
secondary
#CAE2AD
accent
#CF167D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9255DE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9255DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva