#9255F2#9255F2

#9255F2 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.0% C 0.224 H 297.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9255F2
RGBrgb(146, 85, 242)
HSLhsl(263, 86%, 64%)
HSVhsv(263, 65%, 95%)
CMYKcmyk(39.7%, 64.9%, 0%, 5.1%)
CIE-LABlab(50.71, 57.10, -69.87)
CIE-LCHlch(50.71, 90.24, 309.26°)
OKLaboklab(59.99% 0.1014 -0.1993)
OKLCHoklch(59.99% 0.224 297)
XYZxyz(31.1254, 19.0182, 86.0182)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255F2 #B5F255
analogous
#5567F2 #9255F2 #E055F2
triadic
#9255F2 #F29255 #55F292
tetradic
#9255F2 #F25567 #B5F255 #55F2E0
square
#9255F2 #F25567 #B5F255 #55F2E0
split-complementary
#9255F2 #F2E055 #67F255
monochromatic
#530FBE #6E1CEE #9255F2 #B68EF6 #DBC7FB

Accessibility & contrast

On white

4.37
#9255F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9255F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9255F2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255F2#FFFFFF#000000##000000
##9255F21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#7A7A9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9255f2;
/* rgb */ color: rgb(146, 85, 242);
/* oklch */ color: oklch(60.0% 0.224 297.0);
Tailwind
colors: {
  custom: {
    50: '#b888f7',
    500: '#9255f2',
    950: '#000000',
  },
}
SCSS
$custom: #9255f2;
$custom-light: #b888f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9255f2",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 242
  },
  "hsl": {
    "h": 263.312,
    "s": 85.792,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59992,
    "c": 0.22363,
    "h": 297
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#9255F2
secondary
#D8EDB6
accent
#E2038C
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #9255F2

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

Preview Lab → · Contrast checker → · Palette generator →

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