#902FED#902FED

#902FED is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 55.3% C 0.258 H 301.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#902FED
RGBrgb(144, 47, 237)
HSLhsl(271, 84%, 56%)
HSVhsv(271, 80%, 93%)
CMYKcmyk(39.2%, 80.2%, 0%, 7.1%)
CIE-LABlab(44.34, 71.80, -77.45)
CIE-LCHlch(44.34, 105.61, 312.83°)
OKLaboklab(55.32% 0.1328 -0.2214)
OKLCHoklch(55.32% 0.258 301)
XYZxyz(27.8004, 14.0765, 81.3567)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FED #8CED2F
analogous
#312FED #902FED #ED2FEB
triadic
#902FED #ED902F #2FED90
tetradic
#902FED #ED312F #8CED2F #2FEBED
square
#902FED #ED312F #8CED2F #2FEBED
split-complementary
#902FED #EBED2F #2FED31
monochromatic
#520D95 #7112CD #902FED #AE67F2 #CCA0F7

Accessibility & contrast

On white

5.50
#902FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#902FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FED
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FED#FFFFFF#000000##FFFFFF
##902FED1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F2
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#7B6590
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #902fed;
/* rgb */ color: rgb(144, 47, 237);
/* oklch */ color: oklch(55.3% 0.258 301.0);
Tailwind
colors: {
  custom: {
    50: '#b974f4',
    500: '#902fed',
    950: '#000000',
  },
}
SCSS
$custom: #902fed;
$custom-light: #b974f4;
$custom-dark: #000000;
JSON
{
  "hex": "#902fed",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 237
  },
  "hsl": {
    "h": 270.632,
    "s": 84.071,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55319,
    "c": 0.25818,
    "h": 301
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#902FED
secondary
#BBE394
accent
#FA2D92
background
#FCF7FF
surface
#F8EDFE
border
#D1C8D6
text
#130917
muted
#827B85

Preview Lab

Preview with #902FED

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

Preview Lab → · Contrast checker → · Palette generator →

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