#9255CF#9255CF

#9255CF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.6% C 0.184 H 304.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9255CF
RGBrgb(146, 85, 207)
HSLhsl(270, 56%, 57%)
HSVhsv(270, 59%, 81%)
CMYKcmyk(29.5%, 58.9%, 0%, 18.8%)
CIE-LABlab(48.40, 48.48, -53.78)
CIE-LCHlch(48.40, 72.40, 312.04°)
OKLaboklab(57.59% 0.1036 -0.152)
OKLCHoklch(57.59% 0.184 304.3)
XYZxyz(26.3625, 17.1131, 60.9337)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255CF #92CF55
analogous
#5555CF #9255CF #CF55CF
triadic
#9255CF #CF9255 #55CF92
tetradic
#9255CF #CF5555 #92CF55 #55CFCF
square
#9255CF #CF5555 #92CF55 #55CFCF
split-complementary
#9255CF #CFCF55 #55CF55
monochromatic
#552584 #7333B4 #9255CF #B185DC #CFB4EA

Accessibility & contrast

On white

4.75
#9255CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9255CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9255CF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255CF#FFFFFF#000000##FFFFFF
##9255CF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#876D8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9255cf;
/* rgb */ color: rgb(146, 85, 207);
/* oklch */ color: oklch(57.6% 0.184 304.3);
Tailwind
colors: {
  custom: {
    50: '#b688de',
    500: '#9255cf',
    950: '#000000',
  },
}
SCSS
$custom: #9255cf;
$custom-light: #b688de;
$custom-dark: #000000;
JSON
{
  "hex": "#9255cf",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 270,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57587,
    "c": 0.18396,
    "h": 304.3
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#9255CF
secondary
#C0D9A7
accent
#DF4994
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9255CF

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

Preview Lab → · Contrast checker → · Palette generator →

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