#9255F0#9255F0

#9255F0 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.221 H 297.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9255F0
RGBrgb(146, 85, 240)
HSLhsl(264, 84%, 64%)
HSVhsv(264, 65%, 94%)
CMYKcmyk(39.2%, 64.6%, 0%, 5.9%)
CIE-LABlab(50.57, 56.60, -68.98)
CIE-LCHlch(50.57, 89.23, 309.37°)
OKLaboklab(59.85% 0.1016 -0.1967)
OKLCHoklch(59.85% 0.221 297.3)
XYZxyz(30.8267, 18.8987, 84.4449)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255F0 #B3F055
analogous
#5565F0 #9255F0 #DF55F0
triadic
#9255F0 #F09255 #55F092
tetradic
#9255F0 #F05565 #B3F055 #55F0DF
square
#9255F0 #F05565 #B3F055 #55F0DF
split-complementary
#9255F0 #F0DF55 #65F055
monochromatic
#5310BA #6E1DEB #9255F0 #B68DF5 #DAC5FA

Accessibility & contrast

On white

4.39
#9255F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9255F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9255F0
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255F0#FFFFFF#000000##000000
##9255F01.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F5
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#7B799B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9255f0;
/* rgb */ color: rgb(146, 85, 240);
/* oklch */ color: oklch(59.8% 0.221 297.3);
Tailwind
colors: {
  custom: {
    50: '#b888f6',
    500: '#9255f0',
    950: '#000000',
  },
}
SCSS
$custom: #9255f0;
$custom-light: #b888f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9255f0",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 240
  },
  "hsl": {
    "h": 263.613,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.22139,
    "h": 297.3
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#9255F0
secondary
#D6ECB5
accent
#E0058A
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #9255F0

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

Preview Lab → · Contrast checker → · Palette generator →

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