#702FB8#702FB8

#702FB8 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.201 H 300.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#702FB8
RGBrgb(112, 47, 184)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 74%, 72%)
CMYKcmyk(39.1%, 74.5%, 0%, 27.8%)
CIE-LABlab(35.87, 54.51, -60.87)
CIE-LCHlch(35.87, 81.71, 311.85°)
OKLaboklab(47.16% 0.1014 -0.1738)
OKLCHoklch(47.16% 0.201 300.3)
XYZxyz(16.3482, 8.9383, 46.2021)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FB8 #77B82F
analogous
#2F33B8 #702FB8 #B42FB8
triadic
#702FB8 #B8702F #2FB870
tetradic
#702FB8 #B82F33 #77B82F #2FB8B4
square
#702FB8 #B82F33 #77B82F #2FB8B4
split-complementary
#702FB8 #B8B42F #33B82F
monochromatic
#351657 #522387 #702FB8 #8F52D3 #AE82DF

Accessibility & contrast

On white

7.53
#702FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#702FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FB8
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FB8#FFFFFF#000000##FFFFFF
##702FB81.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#5F5271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702fb8;
/* rgb */ color: rgb(112, 47, 184);
/* oklch */ color: oklch(47.2% 0.201 300.3);
Tailwind
colors: {
  custom: {
    50: '#9f6ece',
    500: '#702fb8',
    950: '#000000',
  },
}
SCSS
$custom: #702fb8;
$custom-light: #9f6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#702fb8",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 268.467,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.20123,
    "h": 300.3
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#702FB8
secondary
#A3C87B
accent
#E24598
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #702FB8

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

Preview Lab → · Contrast checker → · Palette generator →

#702FB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva