#9474CB#9474CB

#9474CB is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.6% C 0.131 H 299.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9474CB
RGBrgb(148, 116, 203)
HSLhsl(262, 46%, 63%)
HSVhsv(262, 43%, 80%)
CMYKcmyk(27.1%, 42.9%, 0%, 20.4%)
CIE-LABlab(55.17, 30.73, -40.71)
CIE-LCHlch(55.17, 51.01, 307.05°)
OKLaboklab(62.59% 0.0646 -0.1139)
OKLCHoklch(62.59% 0.131 299.6)
XYZxyz(29.2351, 23.0983, 59.4065)
Luminance0.2310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9474CB #ABCB74
analogous
#747FCB #9474CB #C074CB
triadic
#9474CB #CB9474 #74CB94
tetradic
#9474CB #CB747F #ABCB74 #74CBC0
square
#9474CB #CB747F #ABCB74 #74CBC0
split-complementary
#9474CB #CBC074 #7FCB74
monochromatic
#56368F #7247BA #9474CB #B6A1DC #D9CDEC

Accessibility & contrast

On white

3.74
#9474CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#9474CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9474CB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9474CB#FFFFFF#000000##000000
##9474CB1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CE
Deuteranopia (green-blind)
#6283C9
Tritanopia (blue-blind)
#898396
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9474cb;
/* rgb */ color: rgb(148, 116, 203);
/* oklch */ color: oklch(62.6% 0.131 299.6);
Tailwind
colors: {
  custom: {
    50: '#b59cdb',
    500: '#9474cb',
    950: '#000000',
  },
}
SCSS
$custom: #9474cb;
$custom-light: #b59cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9474cb",
  "rgb": {
    "r": 148,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 262.069,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62594,
    "c": 0.13092,
    "h": 299.6
  },
  "luminance": 0.23098
}

Semantic roles & 50–950 ramp

primary
#9474CB
secondary
#D2DDBE
accent
#B92D85
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9474CB

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

Preview Lab → · Contrast checker → · Palette generator →

#9474CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva