Violet (survey)#9A0EEA

#9A0EEA is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 54.6% C 0.276 H 306.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Violet (survey) — editorial page

Color values

HEX#9A0EEA
RGBrgb(154, 14, 234)
HSLhsl(278, 89%, 49%)
HSVhsv(278, 94%, 92%)
CMYKcmyk(34.2%, 94%, 0%, 8.2%)
CIE-LABlab(42.95, 79.90, -77.98)
CIE-LCHlch(42.95, 111.64, 315.70°)
OKLaboklab(54.57% 0.1632 -0.2224)
OKLCHoklch(54.57% 0.276 306.3)
XYZxyz(28.3314, 13.1249, 78.8668)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A0EEA #5EEA0E
analogous
#2C0EEA #9A0EEA #EA0ECC
triadic
#9A0EEA #EA9A0E #0EEA9A
tetradic
#9A0EEA #EA2C0E #5EEA0E #0ECCEA
square
#9A0EEA #EA2C0E #5EEA0E #0ECCEA
split-complementary
#9A0EEA #CCEA0E #0EEA2C
monochromatic
#4E0777 #740BB0 #9A0EEA #B342F4 #CA7BF7

Accessibility & contrast

On white

5.79
#9A0EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9A0EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A0EEA
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A0EEA#FFFFFF#000000##FFFFFF
##9A0EEA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062EF
Deuteranopia (green-blind)
#0066E6
Tritanopia (blue-blind)
#8B598A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a0eea;
/* rgb */ color: rgb(154, 14, 234);
/* oklch */ color: oklch(54.6% 0.276 306.3);
Tailwind
colors: {
  custom: {
    50: '#c06cf2',
    500: '#9a0eea',
    950: '#000000',
  },
}
SCSS
$custom: #9a0eea;
$custom-light: #c06cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a0eea",
  "rgb": {
    "r": 154,
    "g": 14,
    "b": 234
  },
  "hsl": {
    "h": 278.182,
    "s": 88.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54572,
    "c": 0.2759,
    "h": 306.3
  },
  "luminance": 0.13125
}

Semantic roles & 50–950 ramp

primary
#9A0EEA
secondary
#9BDF75
accent
#FF2977
background
#FCF7FF
surface
#F8EDFE
border
#D1C8D6
text
#130817
muted
#827B85

Preview Lab

Preview with #9A0EEA

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

Preview Lab → · Contrast checker → · Palette generator →

#9A0EEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva