#902FBA#902FBA

#902FBA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.211 H 313.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#902FBA
RGBrgb(144, 47, 186)
HSLhsl(282, 60%, 46%)
HSVhsv(282, 75%, 73%)
CMYKcmyk(22.6%, 74.7%, 0%, 27.1%)
CIE-LABlab(40.42, 60.88, -54.45)
CIE-LCHlch(40.42, 81.67, 318.19°)
OKLaboklab(51.36% 0.1447 -0.1538)
OKLCHoklch(51.36% 0.211 313.2)
XYZxyz(21.3795, 11.5082, 47.5399)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FBA #59BA2F
analogous
#4B2FBA #902FBA #BA2F9E
triadic
#902FBA #BA902F #2FBA90
tetradic
#902FBA #BA4B2F #59BA2F #2F9EBA
square
#902FBA #BA4B2F #59BA2F #2F9EBA
split-complementary
#902FBA #9EBA2F #2FBA4B
monochromatic
#441658 #6A2389 #902FBA #AD53D3 #C484E0

Accessibility & contrast

On white

6.36
#902FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#902FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FBA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FBA#FFFFFF#000000##FFFFFF
##902FBA1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#2161B7
Tritanopia (blue-blind)
#8B4E73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902fba;
/* rgb */ color: rgb(144, 47, 186);
/* oklch */ color: oklch(51.4% 0.211 313.2);
Tailwind
colors: {
  custom: {
    50: '#b572cf',
    500: '#902fba',
    950: '#000000',
  },
}
SCSS
$custom: #902fba;
$custom-light: #b572cf;
$custom-dark: #000000;
JSON
{
  "hex": "#902fba",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 281.871,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51356,
    "c": 0.2112,
    "h": 313.2
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#902FBA
secondary
#93C97C
accent
#E34575
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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