#902ED7#902ED7

#902ED7 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.4% C 0.239 H 305.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#902ED7
RGBrgb(144, 46, 215)
HSLhsl(275, 68%, 51%)
HSVhsv(275, 79%, 84%)
CMYKcmyk(33%, 78.6%, 0%, 15.7%)
CIE-LABlab(42.44, 67.33, -68.02)
CIE-LCHlch(42.44, 95.71, 314.71°)
OKLaboklab(53.45% 0.1396 -0.1937)
OKLCHoklch(53.45% 0.239 305.8)
XYZxyz(24.7416, 12.7898, 65.4421)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902ED7 #75D72E
analogous
#3B2ED7 #902ED7 #D72EC9
triadic
#902ED7 #D7902E #2ED790
tetradic
#902ED7 #D73B2E #75D72E #2EC9D7
square
#902ED7 #D73B2E #75D72E #2EC9D7
split-complementary
#902ED7 #C9D72E #2ED73B
monochromatic
#4D1674 #6F20A8 #902ED7 #AB61E1 #C795EB

Accessibility & contrast

On white

5.90
#902ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#902ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902ED7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902ED7#FFFFFF#000000##FFFFFF
##902ED71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DC
Deuteranopia (green-blind)
#0064D4
Tritanopia (blue-blind)
#835B83
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #902ed7;
/* rgb */ color: rgb(144, 46, 215);
/* oklch */ color: oklch(53.4% 0.239 305.8);
Tailwind
colors: {
  custom: {
    50: '#b772e4',
    500: '#902ed7',
    950: '#000000',
  },
}
SCSS
$custom: #902ed7;
$custom-light: #b772e4;
$custom-dark: #000000;
JSON
{
  "hex": "#902ed7",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 274.793,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.23877,
    "h": 305.8
  },
  "luminance": 0.1279
}

Semantic roles & 50–950 ramp

primary
#902ED7
secondary
#AAD68B
accent
#EB3D86
background
#FBF7FE
surface
#F7EDFC
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #902ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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