#9B2FD2#9B2FD2

#9B2FD2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.6% C 0.236 H 310.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9B2FD2
RGBrgb(155, 47, 210)
HSLhsl(280, 64%, 50%)
HSVhsv(280, 78%, 82%)
CMYKcmyk(26.2%, 77.6%, 0%, 17.6%)
CIE-LABlab(43.73, 67.78, -62.97)
CIE-LCHlch(43.73, 92.52, 317.11°)
OKLaboklab(54.56% 0.1546 -0.1785)
OKLCHoklch(54.56% 0.236 310.9)
XYZxyz(26.1647, 13.6554, 62.2177)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2FD2 #66D22F
analogous
#4A2FD2 #9B2FD2 #D22FB7
triadic
#9B2FD2 #D29B2F #2FD29B
tetradic
#9B2FD2 #D24A2F #66D22F #2FB7D2
square
#9B2FD2 #D24A2F #66D22F #2FB7D2
split-complementary
#9B2FD2 #B7D22F #2FD24A
monochromatic
#51186F #7623A1 #9B2FD2 #B361DD #CB94E8

Accessibility & contrast

On white

5.63
#9B2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9B2FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2FD2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2FD2#FFFFFF#000000##FFFFFF
##9B2FD21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#945780
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9b2fd2;
/* rgb */ color: rgb(155, 47, 210);
/* oklch */ color: oklch(54.6% 0.236 310.9);
Tailwind
colors: {
  custom: {
    50: '#be74e1',
    500: '#9b2fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2fd2;
$custom-light: #be74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2fd2",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 279.755,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.23613,
    "h": 310.9
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#9B2FD2
secondary
#A3D38A
accent
#E74079
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B2FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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