#902ACA#902ACA

#902ACA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 52.1% C 0.231 H 309.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#902ACA
RGBrgb(144, 42, 202)
HSLhsl(278, 66%, 48%)
HSVhsv(278, 79%, 79%)
CMYKcmyk(28.7%, 79.2%, 0%, 20.8%)
CIE-LABlab(40.98, 65.94, -62.90)
CIE-LCHlch(40.98, 91.12, 316.35°)
OKLaboklab(52.11% 0.1458 -0.1786)
OKLCHoklch(52.11% 0.231 309.2)
XYZxyz(22.9881, 11.8499, 56.9419)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902ACA #64CA2A
analogous
#402ACA #902ACA #CA2AB4
triadic
#902ACA #CA902A #2ACA90
tetradic
#902ACA #CA402A #64CA2A #2AB4CA
square
#902ACA #CA402A #64CA2A #2AB4CA
split-complementary
#902ACA #B4CA2A #2ACA40
monochromatic
#481565 #6C1F97 #902ACA #AB55DC #C488E6

Accessibility & contrast

On white

6.23
#902ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#902ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902ACA
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902ACA#FFFFFF#000000##FFFFFF
##902ACA1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0062C7
Tritanopia (blue-blind)
#87537B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #902aca;
/* rgb */ color: rgb(144, 42, 202);
/* oklch */ color: oklch(52.1% 0.231 309.2);
Tailwind
colors: {
  custom: {
    50: '#b670db',
    500: '#902aca',
    950: '#000000',
  },
}
SCSS
$custom: #902aca;
$custom-light: #b670db;
$custom-dark: #000000;
JSON
{
  "hex": "#902aca",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 278.25,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.2306,
    "h": 309.2
  },
  "luminance": 0.11849
}

Semantic roles & 50–950 ramp

primary
#902ACA
secondary
#9DD080
accent
#E93F7D
background
#FBF7FD
surface
#F7EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #902ACA

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

Preview Lab → · Contrast checker → · Palette generator →

#902ACA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva